package com.lanmaoly.web.server.dao;

import com.lanmaoly.web.server.pojo.TbItemCat;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TbItemCatMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TbItemCat record);

    int insertSelective(TbItemCat record);


    TbItemCat selectByPrimaryKey(Long id);


    int updateByPrimaryKeySelective(TbItemCat record);

    int updateByPrimaryKey(TbItemCat record);

    TbItemCat selectByName(String name);
}